module MessagesHelper
  def message_link(message)
    if message.unread?
      "<strong>#{link_to message.title, message_url(message.id)}</strong>"
    else
      "<span class=\"tip\">#{link_to message.title, message_url(message.id)}</span>"
    end
  end
end
